package cn.edu.sgu.www.mhxysy.entity.chongwu_equipment;

import cn.edu.sgu.www.mhxysy.consts.IdentifierPrefixes;
import cn.edu.sgu.www.mhxysy.util.StringUtils;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 宠物套装技能
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Data
@ApiModel
@TableName("chongwu_taozhuang_skill")
public class ChongwuTaozhuangSkill implements Serializable {
	private static final long serialVersionUID = 18L;

	@TableId(value = "id", type = IdType.INPUT)
	@ApiModelProperty(value = "ID")
	private String id;

	/**
	 * 宠物套装技能类型ID
	 */
	@ApiModelProperty(value = "宠物套装技能类型ID")
	private Integer skillId;

	/**
	 * 宠物ID
	 */
	@ApiModelProperty(value = "宠物ID")
	private String chongwuId;

	public String uuid() {
		return IdentifierPrefixes.PREFIX_CWTZJN + StringUtils.uuid();
	}

}